package com.liyong.bos.service;

import com.liyong.bos.dao.AuthFunctionMapper;
import com.liyong.bos.dao.AuthRoleMapper;
import com.liyong.bos.domain.AuthFunction;
import com.liyong.bos.domain.AuthFunctionExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by ApacheMoy on 2017/4/9.
 */
@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private AuthFunctionMapper authFunctionMapper;
    public List<AuthFunction> getLeftTreeMenu() {
        AuthFunctionExample authFunctionExample=new AuthFunctionExample();
        return authFunctionMapper.selectByExample(authFunctionExample);
    }
}
